<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>健康计算器</title>
    <link rel="stylesheet" href="./css/index.css" />
  </head>
  <body>
    <h1>健康计算器</h1>
    <div class="container">
      <div class="form-item">
        <span>身高(厘米)</span>
        <input id="txtHeight" type="text" />
      </div>
      <div class="form-item">
        <span>体重(公斤)</span>
        <input id="txtWeight" type="text" />
      </div>
      <div id="result" class="form-item"></div>

      <div class="form-item">
        <input type="button" value="计算" />
      </div>
    </div>
    <!-- 在这里引入practice.js -->
    <script src="./js/practice.js"></script>
    <script src="./js/index.js"></script>
  </body>
</html>
